package com.gameShare.mappers.user

import org.apache.ibatis.annotations.Param

interface UserActionMapper {

    fun updateUserActionCount(
        @Param("userId") userId: String,
        @Param("actionType") actionType: Int,
        @Param("actionNumber") actionNumber: Int,
    ) : Int

    fun insert(
        @Param("userId") userId: String,
        @Param("actionType") actionType: Int,
    ) : Int

    fun selectUserActionCount(
        @Param("userId") userId: String,
        @Param("actionType") actionType: Int
    ) : Int
}